package com.ruoyi.manager.mapper;

import java.util.List;
import com.ruoyi.manager.domain.SoldierRetirement;

/**
 * 军休安置Mapper接口
 * 
 * @author Allen
 * @date 2021-08-31
 */
public interface SoldierRetirementMapper 
{
    /**
     * 查询军休安置
     * 
     * @param id 军休安置主键
     * @return 军休安置
     */
    public SoldierRetirement selectSoldierRetirementById(Long id);

    /**
     * 查询军休安置列表
     * 
     * @param soldierRetirement 军休安置
     * @return 军休安置集合
     */
    public List<SoldierRetirement> selectSoldierRetirementList(SoldierRetirement soldierRetirement);

    /**
     * 新增军休安置
     * 
     * @param soldierRetirement 军休安置
     * @return 结果
     */
    public int insertSoldierRetirement(SoldierRetirement soldierRetirement);

    /**
     * 修改军休安置
     * 
     * @param soldierRetirement 军休安置
     * @return 结果
     */
    public int updateSoldierRetirement(SoldierRetirement soldierRetirement);

    /**
     * 删除军休安置
     * 
     * @param id 军休安置主键
     * @return 结果
     */
    public int deleteSoldierRetirementById(Long id);

    /**
     * 批量删除军休安置
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSoldierRetirementByIds(Long[] ids);
}
